Auto merge of #1176 - alexcrichton:less-relative, r=alexcrichton
authorbors <bors@rust-lang.org>
Fri, 16 Jan 2015 19:56:26 +0000 (19:56 +0000)
committerbors <bors@rust-lang.org>
Fri, 16 Jan 2015 19:56:26 +0000 (19:56 +0000)
commit31a2ce75e1e7aa4eefa03d64ada6870ab9a18136
treea28c31f44aa5aec026cc041df268c34a9f974ff5
parentf5f4b53c5cac2c1d23379ab595a3a3cd2610b8a2
parent3b09cd5473409bcd6b42530759684cbfe6074ea0
Auto merge of #1176 - alexcrichton:less-relative, r=alexcrichton

Turns out path_relative_from returns Some even if they're not ancestors of one
another! This adds an explicit check for `is_ancestor_of`.